#!/usr/bin/env python

""" tracker.py - Version 0.1 2011-06-08

    Mirrored after the ROS C++ REIN Detector operator

    Created for the Pi Robot Project: http://www.pirobot.org
    Copyright (c) 2011 Patrick Goebel.  All rights reserved.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.5
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details at:
    
    http://www.gnu.org/licenses/gpl.html
      
"""

import roslib
roslib.load_manifest('pi_vision')
from ros2opencv import ROS2OpenCV
import rospy
import cv
import sys
import os
from sensor_msgs.msg import RegionOfInterest, Image
from math import sqrt, isnan